package com.lxu.entity.monster;

import com.lxu.entity.player.Player;
import com.lxu.entity.weapon.Weapon;

/**
 * 龙
 */
public class Dragon extends Monster {
    public Dragon(int blood) {
        super(blood);
    }

    public void harmCal(Weapon weapon, Player player) {
        if (!this.getImmunes().contains(player)) {
            this.setBlood(this.getBlood() - weapon.getAtk());
        }
    }
}
